import cv2 as cv

pic = "E:\Study\OpenCV\opencv\sources\samples\data\lena.jpg"
image = cv.imread(pic)
hsv=cv.cvtColor(image,cv.COLOR_BGR2HSV)
rgbchl= cv.split(hsv)
cv.imshow("Origin",image)
cv.imshow("H",rgbchl[0])
cv.imshow("S",rgbchl[1])
cv.imshow("V",rgbchl[2])
cv.waitKey(0)s